package app.caihan.wanandroid.model

import app.caihan.wanandroid.model.api.WanRetrofitClient
import app.caihan.wanandroid.model.db.WanDatabase
import app.caihan.wanandroid.model.repository.WanRepositoryImpl

/**
 * 玩安卓-数据工厂
 *
 * @author Seven-C
 * @date 2020/8/17
 */
object ScWanAndroidFactory {


    fun makeWanRepository() = WanRepositoryImpl.getInstance(
        WanRetrofitClient.apiService,
        WanDatabase.getInstanse().locaData())
}